package com.example.lombok;

import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

@Getter
@EqualsAndHashCode(of = "id")
@ToString(of = {"id","name"})
public class LombokTest {
	
	private int id;
	private String name;
	
	@Getter(value=AccessLevel.PUBLIC)
	private int age;

	public static void main(String[] args) {
		LombokTest test = new LombokTest();
		System.out.println(test);
	}
}
